private static ActionListener makeDBLoadButtonListener(
			final String buttonTitle, final JRadioButton yes) {
		return new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent arg0) {
				if (yes.isSelected())
					startLoadingDataBase();
				else
					return;
				yes.setSelected(false);
				yes.setEnabled(false);
				addReportsTab();
			}
		};
	}