Fixed some errors with the options menu