Applying Learning Theories in AI-Enhanced Educational Environments