Disable refresh button on updating and fixed a mistake.