Implemented selection of the picture.