Some refactoring on selected binding