Rearranging packages for buttons.