Adding Action listner for adding terminal panel