Added Switch

Changed row color conditionals from if, else if to a switch.