check for download using localStorage