Add change color function in the notepad.