         guard let key = activeKey, let sender = activeSender else {
             return
         }
-        
+
         let isSaved = dataStore.savedPageList.toggleSavedPage(forKey: key)
         
         if isSaved {

    
    @objc public weak var delegate: WMFSaveButtonsControllerDelegate?
    
    @objc func saveButtonPressed(sender: SaveButton) {
        guard let key = visibleArticleKeys[sender.tag] else {
            return
        }
        
        self.activeKey = key
        self.activeSender = sender
        
        if let articleToUnsave = dataStore.savedPageList.entry(forKey: key) {
            delegate?.willUnsaveArticle(articleToUnsave)

            PiwikTracker.sharedInstance()?.wmf_logActionUnsave(inContext: sender, contentType: sender)
            savedPagesFunnel.logDelete()
        }
        notifyDelegateArticleSavedStateChanged()
    }
    
    private func notifyDelegateArticleSavedStateChanged() {
        guard let article = updatedArticle else {
            return
        }
        let isSaved = article.savedDate != nil
        delegate?.didSaveArticle(isSaved, article: article, withTouch: lastTouch)
    }
}
