Wip hossup 4215 m25

pull request for issue filed at https://github.com/vfremaux/moodle-mod_flashcard/issues/1