delete method named "alertWithIcon"