groupsMenu.addItem(manageGroupsMenuItem);
groupsMenu.addItem("Manage Group Requests", new ManagePendingGroupJoinsCommand(getAuthenticatedUser()));
groupsMenu.addItem("Create New Group", new CreateGroupCommand(getAuthenticatedUser(), null));
groupsMenu.addItem("Join/Leave Groups", new JoinLeaveGroupsCommand(getAuthenticatedUser()));
ComboMenuButton menuButton = new ComboMenuButton(getMessages().getString("groups", "Groups"), groupsMenu);
menuButton.setEnabled(enabled);
menuButton.setTitle("Create, manage or join groups");
return menuButton;
}