Fixed issue with length of fields

This commit fixes the issue with the restriction of 20 chars in the name field. It also updates the button code to make most fields editable, for more flexibility