move loadPage from onStart to onCreate