Added number of repeats + time between repeats when sending IR commands