settings: hide settings of disabled components

Issue: https://jira.cyanogenmod.org/browse/CYAN-3552