Unable to Update CSF via CSF Native GUI

When updating CSF via native GUI, CSF hangs and unable to update.

When adding or removing ports using Security → CSF, it updates when saved. But it doesn’t.

How to fix these issues?