private void restoreValues() {
        for (StorageKey key : StorageKey.values()) {
            if (!storageValues.containsKey(key.toString())) {
                continue;
            }

            switch (key) {
                case outputPath:
                    springLenghtsTextField.setText(storageValues.get(key.toString()));
                    Components.moveCurserToEndOfTextField(springLenghtsTextField);
                    break;
                case offset:
                    offsetTextField.setText(storageValues.get(key.toString()));
                    Components.moveCurserToEndOfTextField(offsetTextField);
                    break;
                case anglesPath:
                    anglesFileTextField.setText(storageValues.get(key.toString()));
                    Components.moveCurserToEndOfTextField(anglesFileTextField);
                    break;
                case weightsPath:
                    outputFileTextField.setText(storageValues.get(key.toString()));
                    Components.moveCurserToEndOfTextField(outputFileTextField);
                    break;
            }
        }
    }