Added newButton attribute