Thank you for your reply.
Maybe instead of forcing the student to switch category I could allow them only one course of each category every day then they will be force not to stay in the category they like and work in all categories.
best regards,
Lionel