Show notification only when the app is in background