added missing synchronize().
implemented 'save to KeyChain' checkbox.