private void SaveProfileToLocalStorage(WindowProfile profile) { try { LayoutPayloadUtilities.PayloadDataToFile(GetProfileFullPath(profile.Name), profile.StatePlayload); } catch { //Ignored } }