Implemented focusOnSelect