Sync native
Put gui command in the gui thread.