Refine the script: 1) Hide Preference Setting dialogue by default; 2) Add buttons in Preference Setting dialogue to store little workflow's testing