Retroarch IOS not quitting

I’ve got a problem with retroarch on ipad, when I start up it goes directly into the last used emulator core and won’t allow me to quit. If I go back to the folders it allows me to select a image then brings up the core selection menu but won’t allow me to go any further. Also when I try to quit it closes and then reopens putting me back at the in emu gui with a half crescent arrow at the top. If I manually select core from the gui it changes but I cannot restore it to the default where it opens into the documents view. It only started doing this after I changed something whilst trying to get psxrearmed working but after trying everything I can think of including uninstalling + reinstalling through the ttd and themaister repo’s I get exactly the same results.