fix select all deselect of tables
fix the select buttons on manage tables