Changes sample app to allow switching between listview and gridview