Fix saving enabled state. Enforce frontend to adhere to enabled states