@Override
    public void handleMessage(Message msg) {
      ChallengeDetail1Fragment theFrag = mFrag.get();

      Input input = null;

      if (msg.obj instanceof Input) {
        input = (Input) msg.obj;
      }

      if (input != null && input.isSucces() && msg.arg2 == 0) {
        theFrag.cdTimer.cancel();
        ChallengeShareDialog newFragment = ChallengeShareDialog.newInstance(theFrag.challenge);
        newFragment.show(theFrag.getFragmentManager(), "dialog");

      } else {
        Toast.makeText(
                theFrag.getActivity(),
                theFrag.getActivity().getResources().getString(R.string.txt_something_went_work),
                Toast.LENGTH_LONG)
            .show();
        theFrag.btnFinished.setEnabled(true);
      }

      ((ChallengeDetailActivity) theFrag.getActivity()).showLoading(false);

      super.handleMessage(msg);
    }
    @Override
    public void handleMessage(Message msg) {
      DoneChallengesFragment theFrag = mFrag.get();

      Input input = null;

      if (msg.obj instanceof Input) {
        input = (Input) msg.obj;
      }

      if (input != null && input.isSucces() && msg.arg2 == 0) {
        theFrag.challengesList = input.getChallenges();
        theFrag.adapter.setChallenges(input.getChallenges());
        theFrag.loaded = true;
      }

      theFrag.showLoading(false);

      super.handleMessage(msg);
    }