Added filter/not filter for state/status and changed bgcolor when a filter is set