Quit Game function works