Modified WM_SETTINGSCHANGE to work in Win 8