Reselect appropriate gender button when opening dialog