Correction on the PersistentSettings and its unit testing.

Fixed: Menu bar "new" > "workspace" no response upon selection using mouse click.