Move loading dictionary to an AsyncTask.