Moved setWeather and getWeather to the global preferences.