Fixed crash when deleting and pressing back on browser