Environment selection persistence