add new function to result text field in MainUI to let it uneditable