Add cdrom plugin on gear menu.

Restore settings when cancel the preferences dialog.