/** Apply the state change */
private void changeState(String newState) {
LoadingPopup.showMessage( constants.UpdatingStatus() );
AssetServiceAsync assetService = RepositoryServiceFactory.getAssetService();
if ( isPackage ) {
assetService.changePackageState( uuid,
newStatus,
createGenericCallbackForChaneState() );
} else {
assetService.changeState( uuid,
newStatus,