moved the detection of the need for a new picture to the userStudyToolbox. and added the detection of the opening of a new window. This case should be triggered (at least in mac) all the windows are closed, but chrome is still running in the background. If we detect that this is the first window to be opened, we ask for a picture.