Fix error correction

The extension requires a text description for the error correction level, but the QRCode library requires a numeric constant.