fix group management in contact editor