Fixed bug #11 and made code more robust
Updated version number and compiled
Fixed a small bug in checking if DB is premature.
Committed apk