private void addStatisticsDisplayChoiceListener(
			final JComboBox<String> fieldsForStats) {
		fieldsForStats.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent arg0) {
				int index = fieldsForStats.getSelectedIndex();

				if (index == 82 && !averageDividend.isSelected()) {
					Database.dividendStats.setVisible(true);
					System.out.println(" --- DONT use average --->");
					System.out.println(" --- index --->"+index);
					System.out.println(" --- is selected --->"+averageDividend.isSelected());
				} else {
					Database.statistics.get(index).setVisible(true);
					System.out.println(" --- DO use average --->");
					System.out.println(" --- index --->"+index);
					System.out.println(" --- is selected --->"+averageDividend.isSelected());
				}
			}

		});

	}