modified setTextColor for bug fix