Store player's name in browser's localStorage