CustomerPanel: clickUpdateCustomer gets name

- update clickupdatecustomer to fetch the name from the text field
- fixes a compile-time error