chore(todo-demo): save task state after toggling