Fixed the functionality of changing the list, now the views work fine.