How do i control separately the current fire mode dial of a rifle?

Though probably not the best way, I would probably do the second option, simply because it’d be much easier and take a lot less time to do.