Introduced DBAdapter to manage DataBaseHelper, it seems work better
Fixed some bugs for DBAdapter open, close.
Now every photo taken is inserted into the database (need to fix the
timestamp difference between file's creation and row insertion)