 
     let appVersion = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String
 
-    var receivedURLs: [URL]?
+    var receivedURLs = [URL]()
     var unifiedTelemetry: UnifiedTelemetry?
 
     @discardableResult func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        // NotificationService will have collected them for us in the userInfo.
        if let serializedTabs = userInfo["sentTabs"] as? [[String: String]] {
            // Let's go ahead and open those.
            let receivedURLs = serializedTabs.compactMap { item -> URL? in
                guard let tabURL = item["url"] else {
                    return nil
                }
                return URL(string: tabURL)
            }

            if receivedURLs.count > 0 {
                // Remember which URLs we received so we can filter them out later when
                // loading the queued tabs.
                self.receivedURLs = receivedURLs
                
                // If we're in the foreground, load the queued tabs now.
                if application.applicationState == .active {
                    DispatchQueue.main.async {
                        self.browserViewController.loadQueuedTabs(receivedURLs: self.receivedURLs)
                        self.receivedURLs = nil
                    }
                }



        // We could load these here, but then we have to futz with the tab counter
        // and making NSURLRequests.
        browserViewController.loadQueuedTabs(receivedURLs: receivedURLs)
        receivedURLs.removeAll()
        application.applicationIconBadgeNumber = 0

        // handle quick actions is available
