swap filter patch form checkboxes for a selectmenu. create function for form submit and simplify function which filters data