Another idea just came up. We can add an attribute `enabled` in the object, for example:
```
'ringtones: {
  settingName: 'dialer.ringtone',
  element: document.getElementById('ringtones-list'),
  enabled: true 
}

```
And then you can set `enabled` of the ringtones panel to false if the telephony API is not available.