update for notification:
when activity is foreground, show dialog(haven't finished)
when background or closed, show notification and click it will bring up app with the specific page.
using a tempertory method fix the issue that sometimes onnewIntent doesn't
recieve intent extras.