Added activity name functionality