#8 Implemented preferences dialog to set database settings. Error
reproduced