Reset button added and refactoring in testTimer.