             
             showPageNumberLabel()
         }
+        currPageLabelText = text
     }
     
     

        self.perform(#selector(PagedPublicationView.dimPageNumberLabel), with: nil, afterDelay: 1.0)
    }
    
    fileprivate func updatePageNumberLabel(withText text:String?) {
        if text == nil {
            NSObject.cancelPreviousPerformRequests(withTarget: self, selector: #selector(PagedPublicationView.dimPageNumberLabel), object: nil)

            if pageNumberLabel.text == nil {
                pageNumberLabel.text = text
                layoutPageNumberLabel()
            } else if currPageLabelText != text {
                UIView.transition(with: pageNumberLabel, duration: 0.15, options: [.transitionCrossDissolve, .beginFromCurrentState], animations: {
                    self.pageNumberLabel.text = text
                    self.layoutPageNumberLabel()
