Modify the layout of Database tab and fix text representations