Added default value for state selector