Removed unused method
The method _onSetMetadataFileFinished()
seems to have been part of set metadataTrusted(), but is not used anymore in any part of the code, so it seems safe to remove it.
Also, added a cancellable to the setter of MetadataTrusted.