renamed function to reset time on button