public int onEnd() { // The next reply (if any) will be a reply to the received message SSResponder parent = (SSResponder) getParent(); parent.setMessageToReplyKey((String) receivedMsgKey); return super.onEnd(); }