changeAdminPreference(currentadminpreference);
adminspreferences.changeAdminPreferenceNoLog(certificateserialnumber,currentadminpreference);
    public void setLastFilterMode(int lastfiltermode) throws Exception{        currentadminpreference.setLastFilterMode(lastfiltermode);        if(existsAdminPreference()){          changeAdminPreference(currentadminpreference);        }else{          addAdminPreference(currentadminpreference);        }    }