     )
   }
 
-  //
   @IBAction private func didTapCustomDesign(_: Any) {
-    let button = UIButton(type: .custom)
     guard let buttonBackgroundImage = UIImage(named: "TestButtonBackground.png") else {
       print("Unable to find button background image 'NotificationButtonBackground.png' in the app bundle")
       return
     }
+
+    let button = UIButton(type: .custom)
     button.setTitleColor(UIColor("#FF0040")!, for: .normal)
     button.setImage(buttonBackgroundImage, for: .normal)
     button.sizeToFit()

  @IBAction private func didTapCustomImage(_: Any) {
    var iconSpec = normalSpec
    iconSpec.iconImage = UIImage(named: "TestButtonBackground.png")
    rControl.showMessage(
      withSpec: iconSpec,
      title: "Custom image",

  }

  @IBAction private func didTapToggleNavigationBar(_: Any) {
    guard let navigationController = navigationController else { return }
    navigationController.setNavigationBarHidden(!navigationController.isNavigationBarHidden, animated: true)
  }

  @IBAction private func didTapToggleNavigationBarAlpha(_: Any) {
    guard let navigationController = navigationController else { return }

    let alpha = navigationController.navigationBar.alpha
    navigationController.navigationBar.alpha = (alpha == 1) ? 0.5 : 1
  }
