Implemented card flipping in study mode.