codecomment: use de/activate to add/remove the actions