Added setter for selected index path.