Text editing and change button color