Fix to disable refresh button while loading data (temporary solution)