Welcome to the Candy Crush Saga Community
Do you have a question or need help with your game? Ask the Community.
The connect button is not a login option to access your account technically, it's a sync feature which uses your Facebook or Kingdom login in order to make the save of the local data on the device to a server. If you connected to either of those on your friends tablet, her local data would of been synced to your server data when you "connected". The only option I know would be to start from scratch or just go down on the road map and play from level where you were at.
Out of curiosity, in what way is this having an effect on her game? I've read quite a few threads about this but never heard of it effecting the "master" account before.