Setting mensage error's color in places and types