Change data.setEmptyResponse() to data.setHasResponse(bool).