Fixed major issue with saving upload and background option types and redid the parent and sub-menu logic