private void save(final JFrame frame) {
		final JFileChooser chooser = new JFileChooser(new File(GuiUtils.CURRENT_DIRECTORY));
		chooser.setSelectedFile(new File("scsync.config"));
		if (JFileChooser.APPROVE_OPTION == chooser.showSaveDialog(frame)) {
			final Gson gson = new GsonBuilder().setPrettyPrinting().serializeNulls().create();
			final String json = gson.toJson(GuiUtils.syncConfig);
			try {
				FileUtils.write(chooser.getSelectedFile(), json);
				JOptionPane.showMessageDialog(frame, "SyncConfig was successfully saved to file " + chooser.getSelectedFile(), "Save Success",
						JOptionPane.PLAIN_MESSAGE);
				GuiUtils.CURRENT_DIRECTORY = chooser.getSelectedFile().getParent();
			} catch (final IOException e) {
				JOptionPane.showMessageDialog(frame, e.getMessage(), "Save Error", JOptionPane.ERROR_MESSAGE);
			}
		}
	}