change tab selection by list and quit like a boss