page no longer reloads on button press