I implemented the timer and reset the timer when I push a button and when I win.