Added clearBadge which clears the app badge (resets to 0) and updates the badge value on server.