make intent handling check for flash.