added libraries and fixed AsyncTask