save score to shared preferences