Whitfield County tentatively agrees to buy building