Using switch to update the choice

I am working on a mobile app which has an update settings page. For one of the settings, values can be entered either using UI1 or UI2 (2 different ways)

By default, UI1 is displayed, as it is preferred by most of the users.

enter image description here

The purpose of switch is to toggle between default UI1 and UI2

enter image description here

Well, since on toggle the UI is updating instantly, the interaction isn't confusing it seems.

Do you think it's right approach? Please add thoughts/suggestions.