Adding features to delete pictures