Fix problem with Save API button