replace refresh button with countdown timer