Check this thread out...
https://www.e90post.com/forums/showt...ight=headlight
My leveling arm has popped out numerous times were as I can now just open the inspection cover of the headlight and pop it back in...If you cant manage that then removing the whole headlight and looking at it may be your best route