The new name should be trimmed, as entering a space causes an empty display name