fixed PLM issue. Assert occured when an application was closed using back key.