implemented stop method for pomodoro class