Added a check on the SelectedIndex of the FlipView to prevent indexOutOfBounds error.
Merge pull request #1 from brianmwadime/fixes_IndexOutOfBounds

Fixes #1