Fixed null options bug on the settings page