osc unregister at shutdown, pressing play changes app state