Name accordion icon doesn't change on click up/down

Wrong parameter given for the active option