Persistence Filter and clear cart

After refresh filter selected still selected but when you change it it
clear the cart