ZEN-14580 Save browser state only if state has changed