duration time formatted on index page and added some rules to set_ running, paused and finished methods in the todolist model