private ArrayList<String> convertToArrayList(String[] array) {
        ArrayList<String> convert = new ArrayList<String>();
        for (String i : array)
            convert.add(i);
        return convert;
    }