Added tablelistener