finish qr-code generator and decode