Commit editing on enum selection