fix the obsolete API
Merge branch 'master' of https://github.com/jinntrance/pomodoit