Added feature to delete pictures