LPS-37505 Copy selected layouts synchronous logic from publish layouts (just copy and paste)
LPS-37505 Update applications when page selection is changed in export layouts
LPS-37505 Make var names and declaration consistent