Implemented getColorForStatus method