Fix bug at Refresh button