moved the database request from EntryPointsActivity to InsDbHelper