Added delete rows from table and core data