Adapting Interactive Learning Environments to Student Competences