Add support for editing guest's gender.
Fix crash when adding a second new guest.