Correct the bug that app crashes because the city name is not passed to
getWeatherTask when starting it