Bug when deactivating and activating plugin not showing preferences fixed