private ActionListener makeSaveButtonListener() {

		return new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent arg0) {

				programSettings.rootPathToTextDatabase = PATH_SOURCE.getText();

				programSettings.rootPathToDownloads = PATH_DOWNLOADS.getText();

				programSettings.autoLoadDatabase = autoLoad.isSelected();
				try {
					programSettings.daysOfReportsToDownload = Integer
							.parseInt(DAYS_OF_REPORTS.getText());
				} catch (Exception e) {

				}
				MemoryManager.saveSettings();

			}

		};
	}