Fxied crash because of null pointer exception
Fxied crash because of null pointer exception

Added a check for null results returned from the database

kgigova/BookStoreCatalog,kgigova/BookStoreCatalog,kgigova/BookStoreCatalog,kgigova/BookStoreCatalog