Fixed bug in new todo example [skip ci]