Hooked up the main buttons.