added a countdown for next refresh