Fix wrong function calls
We have to call the canceled/finished function of the Private class instead of the canceled/finished signal of the Command class.