[qmf-notification-plugin] Improve notifications logic

- Beep only if app is on screen.
- Remove notifications when app becomes top most.