Reload the page by using location.reload to support IOS app mode