Prepare 'callback' interface for button trigger. Added some core function related to the result and expression textboxes.