You can replace
flpcakeimages.Items.Clear();
with
flpCakeImages.ItemsSource = null;
If you cant to replace the contents of flipView, just do like this:
flpCakeImages.ItemsSource = oldDataSource;
flpCakeImages.ItemsSource = null;
flpCakeImages.ItemsSource = newDataSource;