persist settings when plugin deactivated and reactivated