Change behavior of download buttons