Tax Year Prior to 2020: Amortize or expense an improvement

Rental property improvements – New windows and a patio door were installed on my rental condo in 2019 for a cost of $7,647.  In Turbo Tax (TTax) I chose the improvement categories:  “Real estate rental property,” then “Appliances, carpet, furniture.”  This led to an option of amortizing the purchase or using a Section 179 expense.  But I think that since this purchase is intended to last about 20 years that it should be REQUIRED to be amortized.  Did I make a wrong choice?