adding active state to settings tab when selected