Green status button doesn't change when changing the status of a page via button in panel

If I understand you correctly, the issue here is that the Panel updates it’s state before the after hook. So whatever you do in there, indeed happens to the content in the file system, the Panel isn’t aware however that there have been any changes.