private void btnNextActivity_Click(object sender, RoutedEventArgs e) { try { viewModel.NextActivity(); } catch (NullReferenceException) { } }