             panGestureRecognizer.delegate = self
             collectionView.addGestureRecognizer(panGestureRecognizer)
         }
+        
+        NotificationCenter.default.addObserver(self, selector: #selector(self.applicationBecameActive(_:)), name: .UIApplicationDidBecomeActive, object: nil)
     }
     
     override func viewDidAppear(_ animated: Bool) {
         super.viewDidAppear(animated)
         loadSnapshotsIfNeeded(animated: false)
+    }
+    
+    @objc private func applicationBecameActive(_ notification: Notification) {
+        DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { 
+            self.loadSnapshotsIfNeeded(animated: true)
+        }
     }
     
     func render(_ draftViewController:DraftViewControllerProtocol) -> UIView {

    var snapshots:[UIView?]? = nil
    
    func loadSnapshotsIfNeeded(animated:Bool) {
        guard snapshots == nil else { return }
        if source?.view.window == nil {
            source?.view.frame = view.frame
            source?.view.layoutIfNeeded()
        }
        snapshots = [source?.view.snapshotView(afterScreenUpdates: true)] + selectableViewControllers.map(render)
        
        for indexPath in collectionView.indexPathsForVisibleItems {
            (collectionView.cellForItem(at: indexPath) as? OpenDraftCollectionViewCell)?.snapshotView = snapshots?[(indexPath as NSIndexPath).item]
        }
        
        if animated {
            let realSnapshots = snapshots?.flatMap({$0}) ?? []
            for snapshot in realSnapshots { snapshot.alpha = 0 }
            UIView.animate(withDuration: 0.25, animations: {
                for snapshot in realSnapshots { snapshot.alpha = 1 }
            }) 
        }
    }
    

        fatalError("init(coder:) has not been implemented")
    }
    
    deinit {
        NotificationCenter.default.removeObserver(self)
    }
    
    override var preferredStatusBarStyle : UIStatusBarStyle {
        return .lightContent
    }
