if timer run out of time when update total time the timer should restart