Bug 849947 - Flush preferences after FHR document submission; r=glandium, rnewman; a=bajaj