how to make application disable to enable