     
     private func validateFavorite()
     {
+        guard
         
+            let entry:MSearchEntry = controller?.modelEntry,
+            let favorited:Bool = MSession.sharedInstance.settings?.isFavorited(
+                wordId:entry.wordId,
+                languageRaw:entry.languageRaw)
+        
+        else
+        {
+            return
+        }
+        
+        DispatchQueue.main.async
+        { [weak self] in
+            
+            self?.buttonFavorite.isSelected = favorited
+        }
     }
     
     //MARK: public

            self,
            action:#selector(actionFavorite(sender:)),
            for:UIControlEvents.touchUpInside)
        
        addSubview(buttonShare)
        addSubview(buttonFavorite)

class VSearchContentHeader:UICollectionReusableView
{
    private weak var controller:CSearch?
    private weak var buttonFavorite:UIButton!
    private let kButtonWidth:CGFloat = 60
    private let kButtonsRight:CGFloat = -10
    
