优化 foreground/background
notification update