public static UserAccountFragment getUserAccountFragment(String type) {
   UserAccountFragment userAccountFragment = new UserAccountFragment();
   Bundle bundle = new Bundle();
   bundle.putString(STATUS_DASHBOARD, type);
   userAccountFragment.setArguments(bundle);
   return userAccountFragment;
 }
        public void handleMessage(Message msg) {
          Object object = msg.obj;
          if (object != null && object instanceof UserAccountFragment) {
            UserAccountFragment fragment = (UserAccountFragment) object;
            if (fragment.getActivity() != null) {
              switch (msg.what) {
                case HANDLE_MSG_ID_BUDGET_UPDATE:
                  fragment.mUserProfile.setWeddingBudget(
                      fragment
                          .mWeddingbudgetEditText
                          .getText()
                          .toString()
                          .replace("$", "")
                          .replace(",", ""));
                  fragment.doBudgetUpdateAction();
                  break;

                case HANDLE_MSG_ID_BUDGET_UI_UPDATE:
                  fragment.mWeddingbudgetEditText.setText(fragment.mNewUser.getWeddingBudget());
                  fragment.setRefreshDataParam(fragment.mNewUser);
                  if (!PlannerApplication.isEmptyOrNull(fragment.mStatus)
                      && (fragment.mStatus.equals(PlannerApplication.PREF_DASHBOARD_FLAG)
                          || fragment.mStatus.equals(
                              PlannerApplication.PREF_DASHBOARD_COUPLT_PHOTO))) {
                    syncedRefreshDataListener(new SyncedObject.DashboardSyncedObject());
                    fragment.getActivity().onBackPressed();
                  }
                  break;

                case HANDLE_MSG_ID_WEDDING_DATE_CLEAR:
                  fragment.mWeddingDateEditText.clearFocus();
                  break;

                default:
                  break;
              }
            }
          }
        };