Fix the recipe edit functionality