added functionality to the back button when in the endscene, now also creates all the gui elements of mainmenu again when activated again
now also adds the gui elements of endscene in the addGuiElements method