Fix error to add a recipe to diary