Changing tab name using the 'Enter' key