When you folded the mirror in and then folded it out was the ignition on all the time? If ignition was still on then it should retain the same mirror position. If mirror was folded in and you then switch ignition off, and then switch ignition back on again the system could revert to different mirror position according to the driver profile in personalisation set-up.