Implemented PostTask with ProgressDialog