Add table selection listeners