//Check that we have an application instance
if (($application = $eventArgs->getObject()) instanceof Application) {
//Set updated value
//Check that we have an application instance
if (($application = $eventArgs->getObject()) instanceof Application) {
//Set updated value