Refactoring to constants for preference strings