Revert "Converted to AsyncTask"

This reverts commit 09851a706949f03b15027ef98ba8b3315f92d361.