Adding player's position to local storage