private void addButtonAction(int button, Action action, Map<Integer, List<Action>> map) {
		List<Action> actions = map.get(button);
		if (actions == null) {
			actions = new ArrayList<Action>();
			map.put(button, actions);
		}
		actions.add(action);		
	}