Monitor foreground application to provide active triggering