Added functionality to create, done and undo todos