This button is custom code, so some changes aren't applying there, you need to create custom template to have another custom functionality there.