The second button will reverse the current selection. This means that whatever you have selected will no longer be selected, but everything else will become selected. This is useful when you want to delete everything except for a single design element.