Chosen Solution

I was cleaning the dust inside the MacBook Pro and on the back plate. while doing so, a little rectangular magnet detached from the back plate and I have no idea where is was glued. Any idea on where to glue it back and what it is used for? The computer seems to work fine without it.

The magnet in in fact part of the main body and is used to hold the backplate in place and to prevent it to make noise.

It got detached from its holder and was magnetically sticking to the back plate. I put it back in place

and secured it with a foil of Kapton (I did not feel to go with superglue).