added download and reset buttons