Made it possible to exit selection mode
Added a prompt before quitting