Removing unnecessary button array