Marked delegate function optional
Implemented set text color