Fix storing of ItemListHelper sorting/filtering in localStorage

localStorage only stores strings, but after the ItemListHelper refactoring in 1fbb73e448 it was trying to save arrays into localStorage, resulting in only the string `"[object Object]"` actually being stored. I changed it to only save the string for sorting, and a JSON stringified array for filters, which should make storage work properly.