             }
         }
 
-        userDefaultsObject?.setObject(NSNumber(bool: true), forKey: appiraterAlreadyCompletedKey)
+        userDefaultsObject?.setObject(NSNumber(bool: true), forKey: appiraterAlreadyCompletedKey as String)
         userDefaultsObject?.synchronize()
     }
 
     // This only supports the default UAAppReviewManager keys. If you customized them, you will have to manually migrate your values over.
     private func migrateUAAppReviewManagerKeysIfNecessary() {
         let appReviewManagerAlreadyCompletedKey: NSString = keyForArmchairKeyType(.UAAppReviewManagerMigrationCompleted)
-        var appReviewManagerMigrationAlreadyCompleted = userDefaultsObject?.boolForKey(appReviewManagerAlreadyCompletedKey)
+        var appReviewManagerMigrationAlreadyCompleted = userDefaultsObject?.boolForKey(appReviewManagerAlreadyCompletedKey as String)
 
         if let completed = appReviewManagerMigrationAlreadyCompleted {
             if completed {

            }
        }

        userDefaultsObject?.setObject(NSNumber(bool: true), forKey: appReviewManagerAlreadyCompletedKey)
        userDefaultsObject?.synchronize()
    }


    private func setKey(key: NSString, armchairKeyType: ArmchairKey) {
        switch armchairKeyType {
        case .FirstUseDate:
            armchairKeyFirstUseDate = key as String
        case .UseCount:
            armchairKeyUseCount = key as String
        case .SignificantEventCount:
            armchairKeySignificantEventCount = key as String
        case .CurrentVersion:
            armchairKeyCurrentVersion = key as String
        case .RatedCurrentVersion:
            armchairKeyRatedCurrentVersion = key as String
        case .DeclinedToRate:
            armchairKeyDeclinedToRate = key as String
        case .ReminderRequestDate:
            armchairKeyReminderRequestDate = key as String
        case .PreviousVersion:
            armchairKeyPreviousVersion = key as String
        case .PreviousVersionRated:
            armchairKeyPreviousVersionRated = key as String
        case .PreviousVersionDeclinedToRate:
            armchairKeyPreviousVersionDeclinedToRate = key as String
        case .RatedAnyVersion:
            armchairKeyRatedAnyVersion = key as String
        case .AppiraterMigrationCompleted:
            armchairKeyAppiraterMigrationCompleted = key as String
        case .UAAppReviewManagerMigrationCompleted:
            armchairKeyUAAppReviewManagerMigrationCompleted = key as String
        }
    }

