common approach for lighting required controls

and bugfix of: Does not change the color after completing a required field #297