Creating localstorage for current position