Fixed barcode scanning. Added details view.