The thing with flashcards or other "brute memorization" techniques is that it only lasts if you use the knowledge regularly. You can train yourself to list off all the sharps and flats in each key. But, if you don't use the knowledge your going to loose it as fast as you learned it. Try to focus in on things that you know will regularly use in your playing.