   override func viewWillAppear(_ animated: Bool) {
     super.viewWillAppear(animated)
     self.setNavigationBarItem()
+    ReachabilityManager.shared.addListener(listener: self)
   }
 
+  override func viewDidDisappear(_ animated: Bool) {
+    super.viewDidDisappear(animated)
+    ReachabilityManager.shared.removeListener(listener: self)
+  }
   override func didReceiveMemoryWarning() {
     super.didReceiveMemoryWarning()
     // Dispose of any resources that can be recreated.

    log.event("SlideMenuControllerDelegate: rightDidClose")
  }
}

  }

}

extension MainViewController: SlideMenuControllerDelegate {

  func leftWillOpen() {
