More code to prevent data edit in muted mode