* Added check if database not exists
* Added check if settings is not available