    */
   public override init(frame: CGRect) {
     super.init(frame: frame)
-  }
-  
-  open override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
-    guard "titleLabel.textAlignment" == keyPath else {
-      super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context)
-      return
-    }
-    
-    contentViewAlignment = .center == titleLabel.textAlignment ? .center : .full
   }
   
   open override func layoutSubviews() {

  @IBInspectable
  public let detailLabel = UILabel()
  
  deinit {
    removeObserver(self, forKeyPath: #keyPath(titleLabel.textAlignment))
  }
  
  /**
   An initializer that initializes the object with a NSCoder object.
   - Parameter aDecoder: A NSCoder instance.

    prepareTitleLabel()
    prepareDetailLabel()
  }
  
  private var titleLabelTextAlignmentObserver: NSKeyValueObservation!
}

private extension Toolbar {
  /// Prepares the titleLabel.
  func prepareTitleLabel() {
    titleLabel.textAlignment = .center
    titleLabel.contentScaleFactor = Screen.scale
    titleLabel.font = RobotoFont.medium(with: 17)
    titleLabel.textColor = Color.darkText.primary
    titleLabelTextAlignmentObserver = titleLabel.observe(\.textAlignment) { [weak self] titleLabel, _ in
      self?.contentViewAlignment = .center == titleLabel.textAlignment ? .center : .full
    }
  }
  
  /// Prepares the detailLabel.
