add CloseApplication to switch scene