Corrected ui mapping for the buttons in the header.