Call Gdk.notify_startup_complete() if remote
When closing Gradio while playing, it is hidden in background.
When you click again on icon, you get startup notification cursor until it timeouts.
You should call Gdk.notify_startup_complete() if get_is_remote() is True.
regards,