Fixes #961 - Issue cropped up again after the badge is being set to zero on terminate

When the app isn’t running and it’s brought to life and terminated, the push notifications are dismissed when the badge is reset to zero.