resets url after app is closed.