Added setSelectedIndex without completion block