When my app is in foreground, a notification from random application comes up and when user clicks on that notification, my app goes to background. The problem is with toast that is displayed by my App after completing the task, it appears even my app went to background which is creating confusion to users. They thought the toast was from random app which is in foreground.
Any idea on how to solve this?