fix the bug of GCAlertView if it has no cancel button.