refactored save/share settings