minor change to the RelayCommand canExecute method