Made track selection not use time.sleep()