Detect when the application moves BG to FG and ping the Push Notifications backend