Make the rename var dropdown option work