locally persist all tasks when any of them change in the DOM