MADS: Completed elementHighlighted method