adding code to set chooser for list page.