Set default of a new task to UserTask instead of Task

How can I make a new task to UserTask instead of Task? I’ve tried the element.changed route with replace, but that didn’t work because the focus was on the original element on which you have to type the name.

I’ve also tried the shape.added route, but simply setting the ‘type’ to ‘bpmn:UserTask’ is not working either.

Please have a look at this example: https://github.com/bpmn-io/bpmn-js-example-custom-controls It modifies the palette and the context pad so you can create a service task.