Fixed barcode scanner crashes

App no longer crashes when user clicks back button at barcode scanner
screen. App properly displays error message when user scans a non-ISBN
barcode.