Moved the download report button and made sure that it only shows up when there is data to download