Public key is now saved correctly in AddPeer event