The default value of your CustomQualtiy variable is “Custom”, are you ever setting it’s value to anything?
It looks like you are setting a different variable, QualitySelected. Meaning the == will always return true.
Looks like you are just checking the wrong variable there, unless there’s something missing from your screenshot.
A Switch On String node might be useful for what you are trying to do.