Factorise code in the configuration panel module
Fix CSS indentation
Fix the mask completed constructions module