Added text color change function