Changes: Refactored Code to remove MBProgressHUD