Fixes #1106 - Also re-register for push notifications every time the app becomes active; resets the counter too