Properly set the selected index. Indexpath method doesn't always work properly.

Signed-off-by: Nikhil Nigade <nikhil@dezinezync.com>