Fix some style issues, and reset the 'background' variable in mustPingPushNotificationsBackend