Enables location updates when the app is running on the foreground