WordProcessor now uses AsyncTask to query the database