Save filter to localstorage