Implemented the edit group button.