re inserted buttons into gender because img element cannot have a value attribute