Detach / Append - multiple button clicks

Detach / Append - multiple button clicks

I've got following problem with this script snippet: http://jsfiddle.net/lluuccaass/cxMBR/3/

this works pretty like I want it. As long as I click only one time at the buttons. But after clicking a button multiple times, it stops working.
I want to exclude / detach / remove content BBB by clicking button AAA and vice versa.
Unfortunately I am not able to solve it. I would really appreciate your help. 

Thanks!! 

ps. show/hide is no option.