Merge pull request #24524 from nullaus/bug1074043

bug 1074043 - Listen for new activities and adjust titlebar styling as e...
(cherry picked from commit 22b1698a71db620b1dd04867aba55efbfd9f23d7)
Merge pull request #24719 from nullaus/v2.1

Merge pull request #24524 from nullaus/bug1074043