         button.setTitleColor(.white, for: .normal)
         button.contentEdgeInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
         let action = CocoaAction(workFactory: { (_) -> Observable<Void> in
-            if !self.isInAnimation.value {
+            if !self.isAnimating.value {
                 self.animateButtons()
             }
             return .empty()

        }
        leftButton.layoutIfNeeded()
        rightButton.layoutIfNeeded()
        isInAnimation.value = false
    }
    
}

    var leftButtonRightAnchor: NSLayoutConstraint?
    var rightButtonLeftAnchor: NSLayoutConstraint?
    var rightButtonRightAnchor: NSLayoutConstraint?
    let isAnimating = Variable(false)
    
    // MARK: - Overloads
    
