added a selected state to treatment polaroids