Added layout change: Added option to change the GridLayout to listview and gridview.