Reset timer with correct value

Fixes #57
Merge pull request #58 from gowtham1337/fix-#57

Reset timer with correct value