Creating todos
Toggling todos according to the state of the model