Refactor SMSAlert