In the createTask method, we create a new object UTask that is handled by the QML code. I don't know yet if we can delete this object from the heap directly in QML or do we have to create another C++ method for this