private void FavRouteButtonUnChecked(object sender, RoutedEventArgs e)
        {
            ToggleFavRouteButton.Content = "\uE1CE";
            SolidColorBrush blackBrush = new SolidColorBrush(Windows.UI.Colors.Black);

            //ToggleFavRouteButton.Foreground = blackBrush;
            //ToggleFavRouteButton.Foreground = Theme SystemControlForegroundBaseHighBrush
            //ToggleFavRouteButton.Foreground = { SystemControlForegroundBaseHighBrush;
            Dto.Favorites favorite = new Dto.Favorites();
            if (cRouteComboBox.SelectedValue != null && cDirectionComboBox.SelectedValue != null && cStopsComboBox.SelectedValue != null)
            {
                favorite.Route = cRouteComboBox.SelectedValue.ToString();
                favorite.Dir   = cDirectionComboBox.SelectedValue.ToString();
                favorite.Stop  = cStopsComboBox.SelectedValue.ToString();

                favorite.routeComboIndex = cRouteComboBox.SelectedIndex;
                favorite.dirComboIndex   = cDirectionComboBox.SelectedIndex;
                favorite.stopComboIndex  = cStopsComboBox.SelectedIndex;
                int contactid = UpdateDetails(favorite.Route, favorite.Dir, favorite.Stop);
                // return the cid if this exists or null if it doesn't
                if (contactid != -1)
                {
                    favoritesListViewModel favListVM = new favoritesListViewModel();
                    favListVM.DeleteContact(contactid);
                }
            }
        }
        private void FavRouteButtonChecked(object sender, RoutedEventArgs e)
        {
            ToggleFavRouteButton.Content = "\uE1CF";
            //SolidColorBrush yellowBrush = new SolidColorBrush(Windows.UI.Colors.DarkGoldenrod);
            //ToggleFavRouteButton.Foreground = yellowBrush;
            Dto.Favorites favorite = new Dto.Favorites();
            if (cRouteComboBox.SelectedValue != null && cDirectionComboBox.SelectedValue != null && cStopsComboBox.SelectedValue != null)
            {
                favorite.Route = cRouteComboBox.SelectedValue.ToString();
                favorite.Dir   = cDirectionComboBox.SelectedValue.ToString();
                favorite.Stop  = cStopsComboBox.SelectedValue.ToString();

                favorite.routeComboIndex = cRouteComboBox.SelectedIndex;
                favorite.dirComboIndex   = cDirectionComboBox.SelectedIndex;
                favorite.stopComboIndex  = cStopsComboBox.SelectedIndex;
                int contactid = UpdateDetails(favorite.Route, favorite.Dir, favorite.Stop);

                if (contactid == -1)
                {
                    Insert(favorite);
                }
            }
        }