Fixes saving and listing, for localStorage