     
     private func hideUploadButton (animated: Bool)
     {
-        guard let button = self.uploadButton, height = self.uploadButtonHeight else { return; }
+        guard let height = self.uploadButtonHeight else { return; }
         
         height.constant = 0
         let animations: () -> () =

    {
        get { return self.uploadButton?.titleForState(.Normal); }
        set (value) { self.uploadButton?.setTitle(value, forState: .Normal); }
    }
    
    @IBOutlet var libraryButton: UIButton?

    
    private func showUploadButton (animated: Bool)
    {
        guard let height = self.uploadButtonHeight else { return; }
        
        height.constant = 40;
        let animations: () -> () =
