Made refresh button simply disable instead of hiding
Moved code to disable refresh button