CPUPolicyPreference: Cleanup & refactor code