Move DB connection/query into an AsyncTask