Issue #2: fix bug that when deleted a group or insert new group , the checkmark in groupPicker will disappear.