Added geolocating to automatically find city in preferences form.