That’s awesome. Cats are really intelligent. I love mine. She can speak on command. Only cat I ever had that would do that trick, although I did manage to successfully teach a previous cat to turn doorknobs.
My sister taught one of her kitties to open doors, as long as the handle wasn’t round.
Another kitty was very smart. Sister would throw him the cellophane from her cigarette packs. He’d play with them awhile & then they disappeared. Time came for her to move from her apartment & she started packing. She came out into the hallway to find a pile of cellophane. Apparently the cat was getting ready to move, too. That happened TWICE - & another sister witnessed it. Cats are wonderful!