Switching to the GUI