Fixed bug: when calling selectNextItem() with no item selected, the second item became selected instead of the first