Fixing geolocation permission