private void AddFavoriteAction(FormulaKey data) { if (!_favorites.Contains(data)) _favorites.Add(data); }