Fixed a bug regarding settings in the plugin's settings tab where too many elements were removed when changing view type.