recompile ui
connect ui, def