Added a ListSelectionListener to GUI