reset bug fixed - now the page reloads when the button is pressed