private void returnSendlist() {
    User user = userLocalStore.getLoggedInUser();
    ArrayList<Friend> friendlistsend = dataAdapter.friendList;
    for (int i = 0; i < friendlistsend.size(); i++) {
      Friend friend = friendlistsend.get(i);
      if (friend.isSelected()) {
        Friend friendsend = new Friend(friend.username, friend.friendname, null, null, -1);
        sendingFriendlist.add(friendsend);

        if (((AppDelegate) this.getApplication()).isTheFriendInTheWoz(friend.username)) {
          // if you send a rendez and your friends chat is allocated, need to append.
          // else the first instance will be able to retrieve this
          SimpleDateFormat dateFormatGmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
          dateFormatGmt.setTimeZone(TimeZone.getTimeZone("GMT"));
          String time = dateFormatGmt.format(new Date()).toString();
          RendezStatus tem =
              new RendezStatus(
                  user.username,
                  statusTitle,
                  details,
                  location,
                  null,
                  timefor,
                  type,
                  -1,
                  friend.username);
          rendezChatDictionary temp =
              ((AppDelegate) this.getApplication()).getRendezDictionary(friend.username);
          temp.allDeesRendez.add(0, tem);
          // ((AppDelegate) this.getApplication()).putItInTheWoz(friend.username, temp);
        }
      }
    }

    for (int i = 0; i < groups.size(); i++) {
      if (groups.get(i).isSelected()) {
        Friend friendsend =
            new Friend(groups.get(i).groupname, groups.get(i).groupdetail, null, null, -1);
        sendingFriendlist.add(friendsend);
        /*
         * need to figure out the emits for this...
         * */

        if (((AppDelegate) this.getApplication()).isTheFriendInTheWoz(groups.get(i).groupname)) {
          SimpleDateFormat dateFormatGmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
          dateFormatGmt.setTimeZone(TimeZone.getTimeZone("GMT"));
          String time = dateFormatGmt.format(new Date()).toString();
          RendezStatus tem =
              new RendezStatus(
                  user.username,
                  statusTitle,
                  details,
                  location,
                  null,
                  timefor,
                  type,
                  -1,
                  groups.get(i).groupname);
          rendezChatDictionary temp =
              ((AppDelegate) this.getApplication()).getRendezDictionary(groups.get(i).groupname);
          temp.allDeesRendez.add(0, tem);
          // ((AppDelegate) this.getApplication()).putItInTheWoz(groups.get(i).groupname, temp);
        }
      }
    }

    RendezStatus status =
        new RendezStatus(
            user.username, statusTitle, details, location, null, timefor, type, -1, null);
    ServerRequests serverRequests = new ServerRequests(this);
    serverRequests.sendToFriendsInBackground(
        user,
        sendingFriendlist,
        status,
        new SendRendezStatusCallback() {
          @Override
          public void done(ArrayList status) {
            ArrayList<RendezStatus> rs = status;
            for (int i = 0; i < status.size(); i++) {
              ((AppDelegate) getApplication())
                  .putItInTheWozRendezStatus(rs.get(i).username, rs.get(i));
              ((AppDelegate) getApplication())
                  .emitRendez(
                      rs.get(i).id,
                      sendingFriendlist.get(i).username,
                      statusTitle,
                      details,
                      location,
                      timefor,
                      type,
                      0);
            }
          }
        });
    Intent returnIntent = new Intent();
    returnIntent.putExtra("result", 1);
    setResult(RESULT_OK, returnIntent);
    finish();
  }