Yes pretty much, if you give the 21 days notice and actually hand back the keys as per the notice.
You should stop paying rent after you vacate and see what they do. If they advertise and chase the higher rent, then you aren't liable for any further rent.
But like I said, possibly still...