Adding a refresh button to the loading page