Move settingenvironment fragment earlier