Trigger input when selecting a friend, so it automatically creates the correct CIPHERTEXT when selecting a freind/new friends

Also fixed duplicate button listeners being added on panel create/destroy and new friends being added.