Added editStatus handler