Fixed bug due to accidental hard coding of a preference key