Use background fetch to periodically update the app icon badge and clear notifications if all have been marked as read