text changes colour when being modified