       userDefaults.set("\(didShowGameCenterDialog)", forKey: SettingsManager.didShowGameCenterDialogKey)
       userDefaults.synchronize()
     }
+
+    if let lastReviewPromptDateString = userDefaults.string(forKey: SettingsManager.lastReviewPromptDateKey) {
+      lastReviewPromptDate = Date(timeIntervalSince1970: (lastReviewPromptDateString as NSString).doubleValue)
+    }
+    else {
+      lastReviewPromptDate = SettingsManager.lastReviewPromptDateDefault
+      userDefaults.set("\(lastReviewPromptDate)", forKey: SettingsManager.lastReviewPromptDateKey)
+      userDefaults.synchronize()
+    }
+    if let promptActionCountString = userDefaults.string(forKey: SettingsManager.promptActionCountKey) {
+      promptActionCount = Int((promptActionCountString as NSString).intValue)
+    }
+    else {
+      promptActionCount = SettingsManager.promptActionCountDefault
+      userDefaults.set("\(promptActionCount)", forKey: SettingsManager.promptActionCountKey)
+      userDefaults.synchronize()
+    }
   }
-  
+
   class func getRegion() -> Region {
     return settingsManager.region
   }
-
   class func setRegion(_ region: Region) {
     if region != settingsManager.region {
       settingsManager.region = region

      userDefaults.set(infoDifficulty.rawValue, forKey: SettingsManager.infoDifficultyKey)
      userDefaults.synchronize()
    }
    
    if let storedUserRejectedGameCenterString = userDefaults.string(forKey: SettingsManager.userRejectedGameCenterKey) {
      userRejectedGameCenter = (storedUserRejectedGameCenterString as NSString).boolValue
    }

      settingsManager.userDefaults.synchronize()
    }
  }
  class func getLastReviewPromptDate() -> Date {
    return settingsManager.lastReviewPromptDate
  }

  class func setLastReviewPromptDate(_ lastReviewPromptDate: Date) {
    if lastReviewPromptDate != settingsManager.lastReviewPromptDate {
      settingsManager.lastReviewPromptDate = lastReviewPromptDate
      settingsManager.userDefaults.set("\(lastReviewPromptDate)", forKey: SettingsManager.lastReviewPromptDateKey)
      settingsManager.userDefaults.synchronize()
    }
  }

  class func getPromptActionCount() -> Int {
    return settingsManager.promptActionCount
  }

  class func setPromptActionCount(_ promptActionCount: Int) {
    if promptActionCount != settingsManager.promptActionCount {
      settingsManager.promptActionCount = promptActionCount
      settingsManager.userDefaults.set("\(promptActionCount)", forKey: SettingsManager.promptActionCountKey)
      settingsManager.userDefaults.synchronize()
    }
  }
}

