corrected bugs that updated certificate will be not found after refresh, add option to specify slots to be considered of PKCS#11 devices