Remove unused array and remove dividers in list view