fixed a bug in the clone method and moved the buttons into the accordion header