fix delegate for tableview, remove delete button from tools and move its context menu item to bottom of menu