public async Task LoadFavorite()
 {
     await Task.Run(() =>
     {
         Debug.Log("Load Favorite File");
         string filePath = Functions.FileCheck(ConfigData.FavoriteListPath);
         using (StreamReader sr = new StreamReader(
                    filePath,
                    Encoding.UTF8))
         {
             var f = sr.ReadToEnd();
             try
             {
                 var savedUsers = JsonConvert.DeserializeObject <SavedFavoriteList>(f);
                 if (savedUsers == null)
                 {
                     savedUsers = new SavedFavoriteList();
                 }
                 LocalFavoriteUsers = savedUsers.users;
             }
             catch
             {
                 LocalFavoriteUsers = new List <string>();
             }
         }
     }).ConfigureAwait(false);
 }
 public async Task SaveLog()
 {
     await Task.Run(() =>
     {
         Debug.Log("Save Favorite File");
         string filePath = Functions.FileCheck(ConfigData.FavoriteListPath);
         var s           = new SavedFavoriteList();
         s.users         = LocalFavoriteUsers;
         var f           = JsonConvert.SerializeObject(s);
         using (StreamWriter sw = new StreamWriter(
                    filePath,
                    false, Encoding.UTF8))
         {
             sw.Write(f);
         }
     }).ConfigureAwait(false);
 }