Add block callback for the selected item changed.