Code does not update between excercises

Hi everybody

I just found this website and started the java course.
The first exercise works fine, but on the second I can type in whatever I want it always tells me
it’s wrong. After jumping around a little bit from exercise to exercise and back I realized, that
the code that’s already written is not updated correctly. It seems that every excursive
needs another public class, but that never changes. Also if I use the hint, it will
show me the result of the last exercise and not the current one.

I tried with Firefox, Edge and IE11. Same happens in every browser.
I also tried the Python course and there everything works fine.

I hope somebody can help me.

Does refreshing the page work as a workaround?

Yes, that actually works.

It seems to be that i need to refresh the page everytime i start a new exercise.