Code refactor

Removing unsued variable and make internal object of AsyncTask private.