Change unselected state for -1

Return 0 not the best option for when you have nothing selected. The
example project itself uses a bar item with tag 0. If you need to check
if an item has been selected is the best return -1 if nothing is
selected, because no one would use this value to tag an item bar.