the method setDoneFlag() does not seem to have "daemonName" parameter.