Interactive Tab Components Issue

The interactive tabs feature is malfunctioning. Please review the attached screenshot to determine if there is a mistake in my approach. Initially, it was functioning correctly, but now, when I preview the prototype, one tab remains inactive while the other should be active. However, it seems I have to double-click to view the active tab. Additionally, once a tab becomes active, the other tab doesn’t deactivate as expected.