Text this: Developing key competences in the light of learning theory – the perspective of the teacher and student