add QuotaExceededError exception handling to saveConfig function