implemented compareTo(), equals(), hashCode() for the ToDoItem.
It should now work (together with the model) with a Controller & View