The VFR|IFR toggle switch changes the entire plan (or stage in a multi-stage flight plan) to be under those flight rules.
To change from VFR to IFR or IFR to VFR within a plan, see here.
Need more help with this?
Help Centre (Tap and hold to open the Link)