Added setCancelable (fix to previous pushed method)