async void GetScheduleByUri(string Uri)
        {
            HttpClient client = new HttpClient();
            client.BaseAddress = new Uri("http://m.sofiatraffic.bg/schedules/");

            string newUri = Uri + "&h=";
            for (int i = 4; i <= 23; i++)
            {
                newUri = newUri + i.ToString();
                var response = await client.GetAsync(newUri);
                var responseText = await response.Content.ReadAsStringAsync();
                //string firstBusNumber = responseText.Substring(responseText.IndexOf("error") + 52, 12);
                //while (true)
                //{
                //    if (firstBusNumber[firstBusNumber.Length - 1] == '<' || firstBusNumber[firstBusNumber.Length - 1] == '/' || firstBusNumber[firstBusNumber.Length - 1] == 'b')
                //    {
                //        firstBusNumber = firstBusNumber.Remove(firstBusNumber.Length - 1, 1);
                //    }
                //    else break;
                //}
                //string direction = responseText.Substring(responseText.IndexOf("Направлениe:") + 38, responseText.IndexOf("Точно време") - responseText.IndexOf("Направлениe:") - 146);
                //string stop = responseText.Substring(responseText.IndexOf("Спирка (код):") + 21, responseText.IndexOf("Направлениe:") - responseText.IndexOf("Спирка (код):") - 53);
                if (schedule[i] == null)
                {
                    schedule[i] = new ObservableCollection<string>();
                }
                schedule[i].Add(i.ToString() + ":11");
                schedule[i].Add(", ");
                schedule[i].Add(i.ToString() + ":34");
            }
            // StorageFolder storageFolder = KnownFolders.DocumentsLibrary;
            // StorageFile sampleFile = await storageFolder.CreateFileAsync("trams.txt");
            // await Windows.Storage.FileIO.WriteTextAsync(sampleFile, result.ToString());

            for (int i = 4; i <= 23; i++)
            {
                ScheduleModel newHour = new ScheduleModel();
                newHour.Hour = i.ToString();
                newHour.Minutes = "";
                foreach (var e in schedule[i])
                {
                    newHour.Minutes = newHour.Minutes + e;
                }
                bindingSchedule.Add(newHour);
            }
            // ScheduleGrid.ItemsSource = bindingSchedule;
            //cvsSchedule.Source = bindingSchedule;
            ScheduleGrid.ItemsSource = bindingSchedule;
        }
        private async void ListFile(StorageFile file)
        {
            string text = await Windows.Storage.FileIO.ReadTextAsync(file);
            string[] grid=text.Split('|');

            bindingSchedule = new ObservableCollection<ScheduleModel>();
            for (int i = 4; i <= 23; i++)
            {
                ScheduleModel newHour = new ScheduleModel();
                newHour.Hour = i.ToString();
                newHour.Minutes = grid[i-4];
                bindingSchedule.Add(newHour);
            }
            // ScheduleGrid.ItemsSource = bindingSchedule;
            //cvsSchedule.Source = bindingSchedule;
            ScheduleGrid.ItemsSource = bindingSchedule;
        }