Completed adding buttons to main.