Preview/play switch logic without reloading editor agian and again