check in keyListener if any item was selected in JList