bug causing bad qr code to be rendered
reset state when starting new invoice