added deletion functionality of collection view cells and their core data