To fix this error, try to restore the phone to its factory defaults. The android.system.proces.ui is having problems because a system files was corrupted or an application is having problems with the system. Go to Settings > Privacy > Factory Reset and wait for phone restoration. After its successful boot, it should work normally.