Clears program when switching to a challenge

fixes #50