protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     CrackBerryModel = NavigationServices.CurrentViewModel as CrackBerryViewModel;
     if (e.NavigationMode == NavigationMode.New && NavigationContext.QueryString.ContainsKey("id"))
     {
         string id = NavigationContext.QueryString["id"];
         if (!String.IsNullOrEmpty(id))
         {
             _isDeepLink = true;
             CrackBerryModel = new CrackBerryViewModel();
             NavigationServices.CurrentViewModel = CrackBerryModel;
             CrackBerryModel.LoadItem(id);
         }
     }
     if (CrackBerryModel != null)
     {
         CrackBerryModel.ViewType = ViewTypes.Detail;
     }
     DataContext = CrackBerryModel;
     base.OnNavigatedTo(e);
 }
 public CrackBerryPage()
 {
     InitializeComponent();
     CrackBerryModel = new CrackBerryViewModel();
 }