Save the enabled state to file, so it is respected on restart.