task-7: bugs after unexpected  adt error fixed, onsavedinsatnce implemented, todo: fix onback methods