refactoring GroupEditor