Improving duration code to cope with Pomodoros > 1 hour (but < 24 hours)

So the referenced code matches the code excerpt in the book.