                 fetchLatestAuroraVersion() { version in
                     if let remoteVersion = version {
                         if localVersion.compare(remoteVersion, options: NSStringCompareOptions.NumericSearch) == NSComparisonResult.OrderedAscending {
+                            self.naggedAboutAuroraUpdate = true
                             let alert = UIAlertView(title: "New version available", message: "There is a new version available of Firefox Aurora. Tap OK to go to the download page.", delegate: self, cancelButtonTitle: "Not Now", otherButtonTitles: "OK")
                             alert.show()
                         }

    }
}

/// Everything below is for the Aurora version check. There is no conditional compilation in Swift so this code is only
/// executed when our bundle identifier is FennecAurora.

private let AuroraBundleIdentifier = "org.mozilla.ios.FennecAurora"
private let AuroraPropertyListURL = "https://pvtbuilds.mozilla.org/ios/FennecAurora.plist"
private let AuroraDownloadPageURL = "https://pvtbuilds.mozilla.org/ios/index.html"

        self.window.rootViewController = controller
        self.window.makeKeyAndVisible()

        return true
    }

    func application(application: UIApplication, applicationWillTerminate app: UIApplication) {
    }

    var naggedAboutAuroraUpdate = false
    func applicationDidBecomeActive(application: UIApplication) {
        if !naggedAboutAuroraUpdate {
            checkForAuroraUpdate()
        }
    }

    private func setupWebServer() {
