Fixed glitchy behavior of back button after app was stopped and restarted