Enable or disable swap option