private void getCurrencies() {
        ArrayList<String> currencyList = new ArrayList<>();
        for (Currency currency : CurrencySet.getInstance()) {
            currencyList.add(currency.getCode());
        }
        currencies = currencyList.toArray(new String[0]);
    }