How to update data MONGO when timer finished [HELP]

I tried to make pomodoro using meteor todo example, when i click button pomodoro-start the timer runs in 1 minute (pomodoroTime) and will automatically switch into (breakTime) 0.5 minute.
I want when Breaktime finished, everything stopped as when I click the button pomodoro-stop