Add populate some and all button functionality