An update on 'Use user store domain in roles' SP does not get reflected when retrieving the SP. The value is always set to true. There's a bug in the SP retrieval logic [1], when there's more than one SP properties, the UseUserstoreDomainInRoles property is set to true always.
[1] - https://github.com/wso2/carbon-identity-framework/blob/v5.14.8/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/dao/impl/ApplicationDAOImpl.java#L2592-L2602