Moving preferences to constants file