Initial glass app with qr scanner.

When the decoding starts, it should execute the START part of te switch, but also the RESUME part of the switch, hence no break. START, RESUME etc. are no states, they are commands.