Setting localstorage differently