added gender select listener