async Task LoadInventory() { if (StoreInventory.Count() > 0) { StoreInventory.Clear(); } var data = productDataStore.GetProductFromStore(StoreControlPanelViewModel.YourSelectedStore.StoreId); if (!keyValues.ContainsKey("productAdded")) { keyValues.Add("productAdded", data); } foreach (var item in data) { var productPresenter = new ProductPresenter(item); StoreInventory.Add(productPresenter); } }