updated logic for toggling geolocation toggling