Enharmonic notes, ties, key change

Well, I don’t know what happened (I had tried that and it wasn’t working. But after restarting the program it worked. Now to get those pesky enharmonic ties to work…