sync the number of pomodoro into the localstorage