Updated the timer to 500 ms to trigger getWeather