private void saveQSButtonActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_saveQSButtonActionPerformed
		if (this.romHandler == null) {
			return;
		}
		qsSaveChooser.setSelectedFile(null);
		int returnVal = qsSaveChooser.showSaveDialog(this);
		if (returnVal == JFileChooser.APPROVE_OPTION) {
			File fh = qsSaveChooser.getSelectedFile();
			// Fix or add extension
			fh = FileFunctions.fixFilename(fh, "rnqs");
			// Save now?
			try {
				FileOutputStream fos = new FileOutputStream(fh);
				fos.write(PRESET_FILE_VERSION);
				byte[] configString = getConfigString().getBytes("UTF-8");
				fos.write(configString.length);
				fos.write(configString);
				fos.close();
			} catch (IOException ex) {
				JOptionPane.showMessageDialog(this,
						bundle.getString("RandomizerGUI.settingsSaveFailed"));
			}
		}
	}