Move the execution of the pattern in the DeixtoAgentScreen class.