Refactored grouping of photos - starting selecting