Replace settingsDefault and buildUi with tables
Don't need log