ToDoItems are marked as done or undone and set accordingly.
Changed DoneAction to call viewChange()