2350023 dropdown selector

I do not understand entirely how this works. I imagined we need to submit form when user changes value in dropdown and remember selection in this plugin. Then we return that selection from this function. Makes sense?