Refactor ui

Are the two states actually need for the item renderer? It seems like you could just set the visibility directly in the data setter.