added table view headers and deselection