Phonegap flashcards application