Updated TextEditor to change background color

Updated TextEditor to change background color for uncommitted changes.