Fixed button blinking after clicking on it.

Fixed a bug where the Refresh button would've continuously blinked after a click on it.