Close the old App before starting a new one