Added support for css class on selected items