Refactor squat preferences and add display mode setting