Buttons and quit msg box added