Saving to localStorage as a side effect observing TodosModel