added type to enter barcode image
fixed a bunch of little errors
added logic to store entries if they were selected while no network connection
did some cleanup