         navigationController?.navigationBar.setBackgroundImage(#imageLiteral(resourceName: "navbar-Landscape.png"), for: UIBarMetrics.default)
       }
     }
+    */
     popover?.dismiss(animated: false)
     _ = dismissDropDownMenu()
   }
 
   override func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) {
+    let f  = navigationController?.navigationBar.frame
     if infoView?.view?.isHidden ?? true {
       setNavBarButtons()
     }

      }, completion: nil)
    }

    // TODO: Refactor
    if UIDevice.current.userInterfaceIdiom == .phone {
      let screenRect = UIScreen.main.bounds


  var textView: TextView!
  var textSize: CGFloat = 0.0
  var navbarBackground: KMNavigationBarBackgroundView!

  private var getStartedVC: GetStartedViewController!
  private var infoView: InfoViewController!
