Fixed the local data download button not working

Fix the local data download button not working in issue 129