fix(ui): hidden bulk action selections
Fixes the case where selected items are not loaded because they are not visible in the current filter. Deselects all rows when filter changes.
Makes sure "Redo Action" is greyed out if no rows are selected.
Refactors "TableWithToolbar":
- Now accepts "selectedRow" argument
- If "selectedRow" is provided, then "useState" is accepted from the parent scope
Related to #1606 (closed)