added affording functionality to buttons
sorted selection of buildings