Cleared the text box in the EditType Layout

Cleared the text box in the EditType Layout when the data is added into
the layout. There is one condition left to be checked. Have put a TODO
there. Ameya will code it later