Removing unsave class when changes saved