EventListener added to resume the application