added StartPage and ErrorPage to fix crash issues when data or location seervices were turned off