Bug 851489 - Delay restarting the browser until the preferences dialog elements are completely updated. r=ehsan