Recognizing Opportunities for Mixed-Initiative Interactions based on the Principles of Self-Regulated Learning