settings dialog and database created