Save figure function is added to showplot