Change thread and runnable.