public AddShoppingList()
 {
     //init lists and collection
     recipe           = new ObservableCollection <Helper.Recipe>(recipeManager.GetCurrentUser().recipes);
     addedRecipes     = new ObservableCollection <Helper.Recipe>();
     tempShoppingList = new Helper.ShoppingList(recipeManager.GetCurrentUser().shoppingLists.Count);
 }
 /// <summary>
 /// Set the temporary shoppinglist to an existing shoppinglist.
 /// Will only be used for the edit page.
 /// </summary>
 /// <param name="index">Index of ShoppingList</param>
 public void SetRecipes(int index)
 {
     this.index       = index;
     tempShoppingList = recipeManager.GetCurrentUser().shoppingLists[index];
     addedRecipes     = new ObservableCollection <Helper.Recipe>(tempShoppingList.recipes);
 }