Menu index for quitting was wrong