Fixed bug where when timer expired, the time wouldn't reset to 0.