Work on database. Implemented barcode fragment.
Query from database gets results. setTransactionSuccessful() was missing in addEntry().