rewrite selected automation track update
fix range for selected automation track