Added remark comment to onSuccessSelectItems function