fixed bug where tapping in study mode with empy stack of cards caused crash