Code fixes for updating image grid after capturing new image and
deleting image from image grid