Update index.html

added QrCodeResult!=null check and counter