retrive id on objects when created to avoid bug on edit
simplify getAll method of Model
when object created, refresh list and set current position to the new created object
remove import