Two bugs fixed

causing preference dialog to
- show minus in front of pattern
- replicate default pattern every time it was saved