                     alert.addAction(studyButton)
 
                     presentViewController(alert, animated: true, completion:nil)
-                    
                 }
             } catch let e {
                 debugPrint(e)
             }
         }
-        
     }
     
     override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {

import UIKit

class DecksViewController: StudyBoxViewController, UICollectionViewDelegate, UICollectionViewDataSource, UIGestureRecognizerDelegate {
    
    private var decksArray: [Deck]?
    private var searchDecks: [Deck]?
    

        searchBar?.delegate = nil
        if let drawer = UIApplication.sharedRootViewController as? SBDrawerController {
            drawer.removeObserver(self, forKeyPath: "openSide")
        }
    }

    override func viewDidLoad() {
