Thanks for pointing that out and taking the time to comment
I have another question. I don't want lines 21-23 as a persistent but rather if conditions are met at line 12 and at line 14. Does this mean I will have to use the same code twice after each condition like I had before or is there a better way?