This is what it looks like:

This is what it should look like (taken from filter selection)

I hate switching the tabs so I would really like that to be fixed and work as it should

Maybe you can use the code that is used for the filter selection already.
Thanks a lot!