Issue save the data in Checklists app

hello,
after moving the function saveChecklists() to DataModel class I cannot save any new items
and checklistItems after adding them.
Does anyone have this issue and know how to solve it?