Handle RESULT_CANCELED result code.