Fix a bug with the progress dialog.
When I test the cache mechanism in Mac OS X, I found that there is something wrong when reload the cache file, so I decided to discard this mechanism.