Saving the ToDo item to the database and returning to the previous screen implemented