onForegroundAppChanged
Reacts to a foreground app change by showing or hiding the overlay based on the per-app configuration and global settings.
Reacts to a foreground app change by showing or hiding the overlay based on the per-app configuration and global settings.