Stop creating new mainpage when pressing home