Fixed restarting detector from TrikStudio