dynamic selectpicker content + refactoring