Adds reset functionality to timer