Fixed a bug with the options menu