Town to buy trash lifter, citing safety concerns