I'd just take it apart and either re-fix the globe or re-fasten the connector.
Either way you'll have to get there to have a look.
Does the button still work? If so, then the connector is fine, probably just the globe that needs a replace.... unless its one of those stupid LED ones that you have to solder *growls*