Yes, you can extend the deal in the last month of the earning period. To do so, go to Earn Interest History and click the Extend button on the appropriate deal.