Arduino with relay and on-off rocker switch Help!

You can accept his last comment as a solution :smiley:
There's a solution button at the bottom of the comment.