Another change from Santhosh, which adds the `_setSelected` method, but
it still isn't helping the previous issue.

Signed-off-by: SturmB <sturm359@gmail.com>