corrected some errors in item adding and solved the problem of item deletion by notifying the views selectively