will do something like (pseudo code):
```javascript
return getUsageSilentSms().then(function(usageSilentSms) {
  removeAlarmTimeout(usageSilentSms[type].alarmId);
  return addAlarmTimeout(type, SERVICE_TIMEOUT).catch().then(function(alarmId) {
    // this is refreshUsageSilentSms, you can keep it in a separate function
    usageSilentSms[type] = {
       ...
    };
    return usageSilentSms;
  });
});
```