adjust logic to explicitly handle text qualifer state changes