change name method in GUI