setInterval on if function only runs the same option over and over

Original message was deleted