rename setNameFromUi to uiNameChanged
reuse uiNameChanged in setFileName