Added renaming functionality in CounterInstanceActivity.