fix displaying UI in case of existing DB and new start of app