try {
final IOtpRpc backend = getBackend();
final OtpErlangTuple tuple = (OtpErlangTuple) backend.call(
Constants.ERLANG_HELPER_MODULE, Constants.FUN_STR2MS, "s",
new OtpErlangString(newText));
if (((OtpErlangAtom) tuple.elementAt(0)).atomValue().equals("ok")) {
// correct match spec - update
((MatchSpec) getValue()).setFunctionString(newText);
((MatchSpec) getValue()).setMsObject(tuple.elementAt(1));
return null;