Basicaly restoring previous state after restart (open same view)