Adding colors to detail state page