There might be some missing or corrupted files that is causing this trouble. The only to get rid of the problem will be to get the phone restored to factory settings. You will nevertheless lose the files on it. You will have to get the files back on it afterward.
Thanks in advance.