Fixed small bug that makes the timer restore wrong count