Fixed bug with crushing app, when opening already opened page.