Handlers for table rows and buttons added.