added setting to hide the badge when zero