set right background and foreground color after a project insert/update