Remove warning asking user to confirm whether she wants to remove a method (after clicking on generate)