Flash-card manager for learning foreign languages