renamed function in RecipeBookActivity