Added player names to shared preferences.