Added a save at the end of selecting class

Removed debug also ;)