added handleOpenUurl event