Public key is now saved correctly in AddPeer event
Now adding the metadata information to config file automatically when initiating a file transfer