             self.presentViewController(mailComposeViewController, animated: true, completion: {
                 UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: false)
             })
+            
         } else {
             self.showSendMailErrorAlert()
         }
-    }
-    
-    @IBAction func menuButtonPressed(sender: AnyObject) {
-        self.revealViewController().revealToggle(nil)
     }
 
     //  MARK: View life cycle
     override func viewDidLoad() {
         super.viewDidLoad()
-
-        mailComposeViewController = configuredMailComposeViewController()
 
         if !MFMailComposeViewController.canSendMail() {
             sendFeedbackButton.enabled = false

        return mailCompseVC
    }
    
    func showSendMailErrorAlert() {
        let sendMailErrorAlert = UIAlertView(title: "Could not send E-mail", message: "Your device could not send E-mail. Please check E-mail configuration and try again.", delegate: self, cancelButtonTitle: "OK")
        sendMailErrorAlert.show()
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}

import UIKit
import MessageUI

final class AboutViewController: UIViewController {
    
    lazy var mailComposeViewController: MFMailComposeViewController = {
        return self.configuredMailComposeViewController()
    }()

    @IBOutlet weak var sendFeedbackButton: UIBarButtonItem!
    
