Added battery and bluetooth config checkboxes and the logic to show/hide them.