public void saveSetting(String key, String value)
        {
            var        db      = new SQLiteConnection(pathToDb);
            DAOSetting setting = new DAOSetting(key, value);

            db.Update(setting);
            db.Close();
        }
        public void initializeSavedSettings()
        {
            var db = new SQLiteConnection(pathToDb);

            db.CreateTable <DAOSetting>();
            if (db.Table <DAOSetting>().Count() == 0)
            {
                //adding default values of settings
                DAOSetting urlSetting = new DAOSetting("urlToBackend", UrlToBackend);
                db.Insert(urlSetting);
            }
            db.Close();
        }