Generalize the title display in each activity.