Done button disabled the first time and fixed when sometimes the curtain is hidden automatically