Provide a callback for when items are selected; closes #18