         }
         NSNotificationCenter.defaultCenter()
             .addObserver(self, selector: #selector(orientationChanged(_:)), name: UIDeviceOrientationDidChangeNotification, object: nil)
-        decksArray = dataManager?.decks(true)
+        decksArray = dataManager.decks(true)
         if initialLayout {
             adjustCollectionLayout(forSize: view.bounds.size)
             initialOffset(false)

        return searchDecks ?? decksArray
    }
    
    lazy var dataManager: DataManager? = {
        return UIApplication.appDelegate().dataManager
    }()


        searchController.dimsBackgroundDuringPresentation = false
        
        definesPresentationContext = true
        collectionView?.backgroundColor = UIColor.sb_White()
        collectionView?.alwaysBounceVertical = true
    }
   
