public override void OpenContextMenu(int groupIndex)
        {
            GenericMenu menu  = new GenericMenu();
            int         index = groupIndex;

            menu.AddToggableItem("Set as default", false, () => SetAsDefault(index), Map.defaultGroup != index);
            menu.AddItem("Add", false, () => Add(index));
            menu.AddItem("Delete", false, () => DeleteGroup(index));
            menu.ShowAsContext();
        }