Make sure AsyncTask runs with good parameters