Fixed JS bug in compose when manually choosing to encrypt message