Arduino If Statement Keep Looping