Updated action menu example code