simplify hiding the badge in editing mode
make hiding of badge during editing configurable