Menu - refactor the replace code for select menu-recipe items