Changed behavior of Encrypt and Sign Buttons