change ribbon color on states