Fixed a reliance on the __repr__ of a ListItemButton, which was recently changed -- use button.text instead.
Added history states example app.