Removed extra instances of buildButtonPanel