Fixed an oversight in implementing toggling download buttons.