Fix user location update issue

Fix the issue: Simulator can't get user location if geolocation panel is
closing at the begining