working private global switch in chatGlobalActivity