Pulled some channel preferences logic into the preferences helper.