Android: adding books by scanning the barcode