Diable scanner when MozActivity is undefined