final changes from code review feedback. the cancel purchases button now only becomes visible if items are selected in the list. the header count is updated by checking the number of divs left in the list