Automatic assembly of office chair armrests