Man accused of crashing into building has previous DWI charge