call SetCacheSize when cache location is changed
added the BrowserWindow