added input event. Changing the content of a todo item causes it to be automatically saved.