cleaned up the refresh button