Added SelectionListeners to all the tables