Method "getSelectedItems" added