Update OnGameOver.java

Added Shared Preferences code