added default value for pomodoro class callback function