Fixes #1

Added a check on the SelectedIndex of the FlipView to prevent indexOutOfBounds error.