Fix double register in BarcodeManager