Added .gitignore
Fixed barcodescanning bug