Add setting UI to encrypt and decrypt.