Change the way to set the rating when creating a recipe