Add start and stop fuctions for the timer