dev: added possibility to show/hide plugin settings for #8369
dev: Reordered methods in PluginsController and did a format on the code, other then that only check for submit button to save data