Bug fix for disabled save button