fix backButton to quit