Refactoring : Make a function take out the ToDo Item in one.