Widgets not working when opening a new level

Hi, I am having a problem with my main menu. The whole plan is to enter a new game by pressing new in the main menu which works and opens the level and then in the game level I press E to open the in game menu and to get back to the main menu I press exit and then it gives me a prompt asking me if I would like to exit to the main menu. Once you click yes it is supposed to open the main menu which works but it’s also supposed to remove all widgets and make a different main menu widiet but it doesn’t remove the widgets or create the widget and I can’t even click my old widget. Thanks in advance.