do not add notification if application in foreground