fix borderWidth, add addAlertButtonWithTitle