added stop and start buttons for the timer as well as event handlers.