Make notifications more consistent when not in the foreground