improve doc for preferences
you don't need to close window when switching datasets