Working on List view

I implemented a function to try out clicking on the list view button