Update systray icon correctly if learning certs

Authored by aheinecke on Aug 30 2018, 1:03 PM.

Description

Update systray icon correctly if learning certs

This avoids the possibility that a user can both trigger
learn keys from the smartcardwidget and from the systray
at the same time.