void addFavoriteButton_Command(object sender, CommandEventArgs e) { string appName = e.CommandArgument.ToString(); favorites.AddFavoriteItem(appName); FillFavoritesView(true); }