Thanks for the solution. I could repair my MX vertical. I can confirm that by being careful is it possible to reuse the pads (I started to peel them off with a blade and then remove it very gently). By reassembling the optical sensor, I've put a small drop of glue on the support, I hope that it will be less prone to come detached again.