Make the Refresh button functional.