changed localstorage package