fixed issues with nextexerciseenabling/disabling, created a saving function and added it to previousexercise