Changed preference variable names to fit what they are for.

Changed preference variable names to fit what they are for.