new httpRequest code to fix skipping frames and dialog not showing in AsyncTask fixed