     override open func awakeFromNib() {
         //swiftlint:disable opening_brace
         normalConstant = constant
-        let not1 = NotificationCenter.default.addObserver(forName: NSNotification.Name.UIKeyboardWillShow,
+        let keyboardWillShow = NotificationCenter.default.addObserver(forName: NSNotification.Name.UIKeyboardWillShow,
                                                object: nil,
                                                queue: OperationQueue.main)
                     { [weak self] (notification) in

                        }
                    }

        let not2 = NotificationCenter.default.addObserver(forName: NSNotification.Name.UIKeyboardWillHide,
                                                          object: nil,
                                                          queue: OperationQueue.main)
                    { [weak self] (notification) in

                        self?.animate(to: self?.normalConstant, userInfo: userInfo)
                    }

        notifications?.append(keyboardWillShow)
        notifications?.append(keyboardWillHide)
        super.awakeFromNib()
    }

