This episode was very much an epilogue to the relationship between Selina and Tom, which the دکھائیں explored to great effect in earlier seasons when they were running as President and Vice President respectively.
Dan has now joined Jonah, and is acting as his campaign manager. This allows the Dan/Jonah back and forth banter to continue between the two, even if they're now in different jobs with Jonah running for Congress...