title: How to cancel all Toasts when app is in background?
body: <p>I'm using <code>Toasts</code> in my app to display errors from API/local errors to user. But it is annoying if user is in background and <code>Toast</code> message is displayed over his Messenger app (for example) that some request failed. Is there any way how to disable all displayed toasts immediately when App is in background?</p>
  
  <p>All toasts are created in one function for entire App which is inside my <code>Application</code> class.</p>