Fixed button blinking after clicking on it.

Fixed a bug where the Refresh and Browse for a Repository buttons would've continuously blinked after a click on it.