@Override
 public void register(Hotkey hotkey, Command command) {
   if (actual == NOT_YET_SET) {
     preregisteredCommands.put(hotkey, command);
   } else {
     actual.register(hotkey, command);
   }
 }
 public void setActualMap(AcceleratorMap map) {
   this.actual = map;
   for (Hotkey hotkey : preregisteredCommands.keySet()) {
     actual.register(hotkey, preregisteredCommands.get(hotkey));
   }
 }