MDL-41676 Corrected logic when to dim the activity name and content