add  addAlertButtonWithTitle and type