hiding exitbutton when first created