private static DialogStatus getStatusById(final int id) {
        for (DialogStatus e : DialogStatus.values()) {
            if (id == e.id) {
                return e;
            }
        }
        return null;
    }
possible show states which are stored in the database
main/src/main/java/cgeo/geocaching/storage/extension/OneTimeDialogs.java