I see that you want to repeat the last four bars and end on the last beat of the fourth bar.
For playback, that won't work in iReal Pro for two reasons.
The END command supersedes the repeat command, so the four bars will only play once. One solution is to write the four bars out twice. Another is to use first and second endings.
Also, the bar with END in it will stop on the first beat, no matter where the command is placed. One solution is to change the 4/4 bar to a 3/4 bar and put the final chord and END command in the next bar. It's not elegant to read, but it's practical within the limitations of the program.