Fixed AsyncTask crashes

I fixed the AsyncTask crashes by initializing the progress bar, or, in
other words, I removed the progress bar repeat in the onCreate method