Also using new preference constant in the perference put method