Replace the AsyncTask with an IntentService