Change preview variable