private void hyperlinkButtonHome_Click(object sender, RoutedEventArgs e)
{
NavigateTo("/HomePage.xaml");
}
// prevents crash when trying to navigate to current page
public static void NavigateTo(string url)
{
var frame = App.Current.RootVisual as PhoneApplicationFrame;
if ((frame == null) || (url == frame.CurrentSource.ToString()))
return;
frame.Navigate(new Uri(url, UriKind.Relative));
}
Not sure it's right solution but it stops crashing app.

Join the conversation! Your thoughts help the community grow.