Added wdullaer's ACTION_CANCEL
SavedInstanceState might be null.