added method searchForIndex() which displays the text (stored in the db)
depending on the key (e.g. popup_bad_ending)