I'm wondering if there is a way to know if a notification is shown on screen, because I made an app that listen for button press to execute actions, however it seams that the app is still listening to button press when the user is opening a notification he received.