When selecting a text-segemrnt and creating a new code from it then the segment is not automatically assigned the newly created code.