Change structure of filter window and write a function to switch with params