private void ControlInitialized(object sender, EventArgs e)
{
this.UpdateButtons();
CheckForUpdatesButton.IsEnabled = ApplicationDeployment.IsNetworkDeployed;
// Load defaults from persistant storage
JSBeautifyPreserveLine.IsChecked = PersistantStorage.StorageObject.JSBeautifyPreserveLine;
JSBeautifyIndent.Text = PersistantStorage.StorageObject.JSBeautifyIndent.ToString();
JSBeautifyUseSpaces.IsChecked = PersistantStorage.StorageObject.JSBeautifyUseSpaces;
JSBeautifyUseTabs.IsChecked = PersistantStorage.StorageObject.JSBeautifyUseTabs;
this.UpdateOptions();
}