added a refresh button and time left changes color if time is less than 5 min