Save display name when entering mode, reset when exiting mode.