Implement a part of code for the response of an action addition request.
Remove unnecessary lines.