GUI: fixed prederredShells widget

- Use object cloning to prevent null pointer in
  preferredShells widget when removing value.
- Fixed setting null value when sending to Perun.
- Refresh Global settings after successfull save
  of changes to properly handle local value changes.
Merge pull request #152 from zlamalp/fix

GUI: fixed prederredShells widget