Custom Action Edit Function - Not Getting Saved

Custom Action Edit Function - Not Getting Saved

Hi,
     I have created a leave application app. In the report , I have added a custom action for leave status ( pending , approved)  .  I need to send mail based on the approval .

I try to edit the  function  page , but it is not saving. I have attached the screen shot of the function Edit option