if (correct kanji is not equal to the kana reading) {
choose a KANJI character in the kanji reading
for (number of incorrect options required) {
try {
use instr(column, 'char') > 0 in sqlite query to select an entry with the same kanji
} catch (Not found exception) {
select a random other flashcard entry
}
}
}
Idea:
In addition, change options from 4 to 6 options?