Clean up textarea after segmenting