optional callback for complete and uncomplete methods of todos.