Initialize the setting list elements through the ui file instead of hardcoding them.