adding filtering options to table and stateful labels