Clicking a list properly sets all items to its own state