public void removeDictionary(String language) {
        Dictionary d = null;
        for (Dictionary dictionary : dictionaries) {
            if (dictionary.getLanguage().equals(language)) {
                d = dictionary;
            }
        }
        if(d != null) {
            dictionaries.remove(d);
        }
    }