refactoring
fix #5: Prevent goal triggering playback twice