Bug in the picture delegate. It did not permit to take pictures from the camera