private void storeValues() {
        storageValues.put(StorageKey.WINDOW_STATE, "" + getState());
        storageValues.put(StorageKey.WINDOW_HEIGHT, "" + getSize().height);
        storageValues.put(StorageKey.WINDOW_WIDTH, "" + getSize().width);
        storageValues.put(StorageKey.WINDOW_POSITION_X, "" + getX());
        storageValues.put(StorageKey.WINDOW_POSITION_Y, "" + getY());
        storageValues.put(StorageKey.GRAMMAR_FILE_PATH, grammarFileTextField.getText());
        storageValues.put(StorageKey.INITIALISATION_FILE_PATH, initialisationFileTextField.getText());
        storageValues.put(StorageKey.EDITOR_FONT_SIZE, "" + grammarTextPane.getFont().getSize());
        storageValues.put(StorageKey.IS_GRAMMAR_HELP_VISIBLE, "" + controller.isGrammarHelpWindowVisible());

        if (controller.getGrammarHelpWindow() != null) {
            storageValues.put(StorageKey.GRAMMAR_HELP_POSITION_X, "" + controller.getGrammarHelpWindow().getX());
            storageValues.put(StorageKey.GRAMMAR_HELP_POSITION_Y, "" + controller.getGrammarHelpWindow().getY());
        }

        storageValues.put(StorageKey.IS_INITIALISATION_HELP_VISIBLE, "" + controller.isInitialisationHelpWindowVisible());

        if (controller.getInitialisationHelpWindow() != null) {
            storageValues.put(StorageKey.INITIALISATION_HELP_POSITION_X, "" + controller.getInitialisationHelpWindow().getX());
            storageValues.put(StorageKey.INITIALISATION_HELP_POSITION_Y, "" + controller.getInitialisationHelpWindow().getY());
        }

        storage.store(storageValues);
    }