Problem is present when app is organised in multiple files. On the other hand, when app is organised in one file, then it works perfectly. I can’t figure out what is issue with importing page layout…
Thank you @AnnMarieW . Link that you provided is excellent, I will definitely give it a try!
Btw, regarding my issue, it just started working after two hours. I do not know why and how, it was probably sth related with my Mac. Btw I was manually changing URL address in browser (in all pages were error 404), but it didn’t work.