Refresh button is now working