     }
 
     private func showRestoreTabsAlert() {
-        guard !DebugSettingsBundleOptions.skipSessionRestore else {
+        guard shouldRestoreTabs() else {
             self.tabManager.addTabAndSelect()
             return
         }

        )

        self.presentViewController(alert, animated: true, completion: nil)
    }

    override func viewDidAppear(animated: Bool) {

            // Reset previous crash state
            activeCrashReporter?.resetPreviousCrashState()

            let optedIntoCrashReporting = profile.prefs.boolForKey("crashreports.send.always")
            if optedIntoCrashReporting == nil {
                // Offer a chance to allow the user to opt into crash reporting
