Try wating for device ready on scan page