Hadron matter in neutron stars in view of gravitational wave observations