You can't rename the device if you haven't entered a new name. Therefore, the "rename" button should be insensitive if the name hasn't been edited.