Updated Quit Button logic