-changed ArrayAdapter to CursorAdapter
-saved initial state to preferences (allow to create db only on first
run)
-created DBAdapter class to work with DB