The clear Alarms method only have a callback method, when this method fails the app only send a message to the console.  
The app, before update, add alarms or when the data mobile is cleared, tries to remove the alarms again before add the alarm.  
IMO, it's the least bad option, because in the worst scenario the app fires an undesired alarm.