Need help changing DModelPanel's model through button function

snip

Post the error, post the whole code.