Extracted creation procedure of new MenuProvider