fix not properly disconnecting and re-connecting the folder monitor when the image source is changed