Removed a code on badge color setting