 
         messageLabel.font = activityData.messageFont
         messageLabel.textColor = activityData.textColor
-        setMessage(activityData.message)
+        messageLabel.text = activityData.message
         containerView.addSubview(messageLabel)
 
         // Add constraints for `messageLabel`.


        return label
    }()

    /// Shared instance of `NVActivityIndicatorPresenter`.
    public static let sharedInstance = NVActivityIndicatorPresenter()

            keyWindow.addConstraints([leadingConstraint, trailingConstraint, topConstraint, bottomConstraint])
            }())

        DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(activityData.minimumDisplayTime)) {
            self._hide()
        }
    }

    private func _hide() {
        if state == .waitingToHide {
            hide()
        } else {
            state = .waitingToHide
        }
    }
    
    private func hide() {
        guard let keyWindow = UIApplication.shared.keyWindow else { return }
        
        for item in keyWindow.subviews
            where item.restorationIdentifier == restorationIdentifier {
                item.removeFromSuperview()
        }
        state = .hidden
    }
}
