Added asynchronous saving and deleting of photos to prevent lag when adding and deleting collection items.