Fix a problem in previous commit;
Add refresh statistics on item deletion;
Fix a problem in EChart encapsulation.