Update completion model and key when key filter is changed
The key filter is changed when the user switches between OpenPGP and
S/MIME. This change wasn't propagated to the completer (so that the
completer showed matching keys/certificates for the wrong protocol) and
the key wasn't updated.