[#156] Return to "view" mode after saving settings

- Removed unnecessary "refreshApi" call
- Added a "reload" to the state change
- Set edit to "null" when leaving edit mode, not empty string
- Check callback for typeof function only
Rebuilt UI distribution
Merge branch 'hotfix/156'

Fixes #156