Set preview only if false

Rename variable and set preview only if preview is false.