public int Run() { DBUtils.OpenConection(); if (selectedStats != "del_rep") { mistList = DBUtils.ReadMistakes(query + where); } if (selectedStats != "words") { wordsList = DBUtils.ReadWords(query + where); } DBUtils.CloseConnection(); return(1); }