Hooked up the toggle button on the list page