Fixes double buttons for renaming