build DataBase and ui_showMessage