Problem is resolved, thanks to the post in https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1144240&SiteID=1
OnTaskchanged event is now being triggered after this change, although I wonder task itself should not have been created in the first place.
Gerry