CHANGED:applied the MBProgressHUD implementation