[JBIDE-16104] only refresh viewer when loading keys was succesful