bugfix: stop theme playback only if function is turned on.