add and delete group in editMode is now working