Add attr active to pattern menu