Pomodoro timer overflow

how can i get the timer to not overflow?