fixed several issues in how the configuration is storage and fix an
issue when clicking multiple times in hte save button for task
association screen.