added logic to hide show all button when no closed projects exist