add logic into CanExecute method for save button