ADD:function of exit app.