Remove duplicate steps for buttons