fix text preset not update whem settings is closed| fix merge error in ui-lib.js