Fix restore predefined export with more than 2 levels depth

issue3402
review1124003
(transplanted from 30b291e0bf4f17a0219b4572cee67e8fcc07acc7)

--HG--
extra : transplant_source : 0%B2%91%E0%BFO%17%A0%21%9BEr%CE%E6%7E%8F%CC%07%AC%C7
Don't set favorite is menu screen is not set

issue3387
review1130002
(transplanted from cddf1ac68ad1a4e82bd4e920df1e674cef5f61a0)

--HG--
extra : transplant_source : %CD%DF%1A%C6%8A%D1%A4%E8%2B%D4%E9%20%DF%1EgL%EF_a%A0