adding ListSelectionListener