public EventHandler<KeyEvent> keyMap() {
        return new EventHandler<KeyEvent>() {
            public void handle(final KeyEvent keyEvent) {
                KeyCode shortCut = keyEvent.getCode();

                switch (shortCut) {
                    case N:
                        newAlarmDialog();
                        break;
                    case L:

                        break;
                    case Q:
                        Platform.exit();
                        break;
                }
            }
        };
    }