update Elements
Updates the menuElements.
This is used to initially populate the elements and to update the list based on the visibility condition of the settings.
Updates the menuElements.
This is used to initially populate the elements and to update the list based on the visibility condition of the settings.