public void install(Action action, int groupId) {
        action.addPropertyChangeListener(acceleratorChangeHandler);
        bind(action);

        List<Action> actionGroup = actionGroupMap.get(groupId);
        if (actionGroup == null) {
            actionGroup = new ArrayList<>();
            actionGroupMap.put(groupId, actionGroup);
        }
        actionGroup.add(action);
    }