Fix the terminal button problem after GUI changed

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>