Fixed bug in adding new row. Now new rows inputs has an unique id
Nuke trailing whitespace.