Use nsIPrefBranch to get/set Pref