Merge "Fix the problem that the switch should gray out when preference disabled." into sc-dev