Functioning enable/disable controls for plugins on admin page